import Vue from 'vue'
import App from './App.vue'
import router from './router'
import store from './store'
import API from './utils/index'
Vue.use(API);
import Loading from './components/loading/index';
Vue.use(Loading);
import Message from './components/message/index';
Vue.use(Message);
import './config/rem'

Vue.config.productionTip = false

//引入axios
import axios from  'axios'
Vue.prototype.$axios = axios

//引入element-ui
import ElementUI from 'element-ui';
import 'element-ui/lib/theme-chalk/index.css';
Vue.use(ElementUI);

//引入vant
import Vant from "vant";
import "vant/lib/index.css";
Vue.use(Vant);

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')

